﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true"
    CodeFile="Content.aspx.cs" Inherits="Admin_Content" ValidateRequest="false" %>

<%@ Register assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxTabControl" tagprefix="dxtc" %>
<%@ Register assembly="DevExpress.Web.v9.1, Version=9.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dxw" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table style="width: 100%;">
        <tr>
            <td width="100px">
                İçerik Güncelle</td>
            <td>
                <asp:DropDownList ID="ddlContent" runat="server" Width="250px">
                </asp:DropDownList>
                &nbsp;<asp:Button ID="btnGetir" runat="server" Text="Getir" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <hr />
            </td>
        </tr>
        <tr>
            <td width="100px">
                İçerik Adı</td>
            <td>
                <asp:TextBox ID="txtContentName" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Başlık
            </td>
            <td>
                <asp:TextBox ID="txtHeader" runat="server" Width="98%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                İçerik
            </td>
            <td>
                <dxtc:ASPxPageControl ID="ASPxPageControl1" runat="server" ActiveTabIndex="0" 
                    Width="100%">
                    <TabPages>
                        <dxtc:TabPage Text="Basit">
                            <ContentCollection>
                                <dxw:ContentControl runat="server">
                                    <asp:TextBox ID="txtIcerik" runat="server" Height="200px" TextMode="MultiLine" 
                                        Width="98%"></asp:TextBox>
                                </dxw:ContentControl>
                            </ContentCollection>
                        </dxtc:TabPage>
                        <dxtc:TabPage Text="Gelişmiş">
                            <ContentCollection>
                                <dxw:ContentControl runat="server">
                                </dxw:ContentControl>
                            </ContentCollection>
                        </dxtc:TabPage>
                    </TabPages>
                </dxtc:ASPxPageControl>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <asp:Button ID="btnSil" runat="server" Text="Sil" />
                &nbsp;<asp:Button ID="btnKaydet" runat="server" Text="Kaydet" 
                    onclick="btnKaydet_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
